package com.example.springboothomework.common;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * @author chenjianhao
 * @date 2025/6/10
 *
 * 导入结果情况
 */
@Getter
@Setter
@AllArgsConstructor
public class ImportResult {
    /**
     * 总记录数
     */
    private int totalCount;

    /**
     * 成功记录数
     */
    private int successCount;

    /**
     * 失败记录数
     */
    private int errorCount;

    /**
     * 错误详情
     */
    private List<ImportError> errors;
}